import { defineConfig } from "wxt";

// See https://wxt.dev/api/config.html
export default defineConfig({
  modules: ["@wxt-dev/module-vue"],
  manifest: {
    name: "AI机务问答助手",
    description: "捕获机务在线网站的试题内容并使用AI获取解答",
    permissions: ["storage", "activeTab", "notifications", "scripting", "tabs"],
    host_permissions: ["<all_urls>"],
    icons: {
      16: "icons/icon-16.png",
      32: "icons/icon-32.png",
      48: "icons/icon-48.png",
      96: "icons/icon-96.png",
      128: "icons/icon-128.png",
      256: "icons/icon-256.png",
    },
    options_ui: {
      page: "options.html",
      open_in_tab: true,
    },
  },
});
